package com.xwaf.platform.system.api.entity.auth;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.xwaf.platform.common.api.entity.ELItem;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 
 * <p>
 * 操作日志表
 * <p>
 * 
 * @author 李聪 <br>
 * @email xwaf_love@yeah.net <br>
 * @since JDK 1.8<br>
 * @date 2019年12月27日 下午8:02:58 <br>
 * @see 无<br>
 *      Copyright (c) 2019, xwaf_love@yeah.net All Rights Reserved.<br>
 */
@Data
@TableName(value = "sys_operate_log")
public class OperateLog extends ELItem {
	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "操作模块 长度(10) 必填")
	private java.lang.String module;

	@ApiModelProperty(value = "操作类型 长度(20) 必填")
	private java.lang.String type;

	@ApiModelProperty(value = "操作IP 长度(20) 必填")
	private java.lang.String ip;

	@ApiModelProperty(value = "操作内容")
	private String content;

	@TableField(exist = false)
	@ApiModelProperty(value = "开始时间")
	private String startTime;

	@TableField(exist = false)
	@ApiModelProperty(value = "结束时间")
	private String endTime;

	@TableField(exist = false)
	@ApiModelProperty(value = "操作人 名称")
	private String userName;
}
